import {Component} from '@angular/core';
import {NavController, NavParams, ViewController} from 'ionic-angular';


@Component({
    selector: 'kcmodel',
    templateUrl: 'kcmodel.html'
})
export class KcmodelPage {

    btnAct = true;

    constructor(public navCtrl: NavController, params: NavParams, public viewCtrl: ViewController) {
        console.log('UserId', params.get('userId'));
    }

    cancelModel() {

    }

    dismiss() {
        this.viewCtrl.dismiss();
    }

    //发货渠道按钮事件
    btn1Click() {
        this.btnAct = true;
    }

    //收货渠道按钮事件
    btn2Click() {
        this.btnAct = false;
    }
}
